package com.ztgf.shopping.models.vo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.shopping.models.dto.shop.ShopShoppingCartDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ：Eric
 * @description：TODO
 * @date ：2021/9/7 11:38
 */
@Data
public class ShopShoppingCartCmsVO implements Serializable {
    @ApiModelProperty(value = "购物车id")
    private Long id;
    @ApiModelProperty(value = "商品名字")
    private String commodityName;
    @ApiModelProperty(value = "规格型号")
    private String specificationModel;
    @ApiModelProperty(value = "商品数量")
    private Integer number;
    @ApiModelProperty(value = "质保期")
    private Integer warranty;
    @ApiModelProperty(value = "收货地址")
    private String receiveAddress;
    @ApiModelProperty(value = "收货地址")
    private String receiveAreaName;
    @ApiModelProperty(value = "收货地址id")
    private Long receiveAreaId;
    @ApiModelProperty(value = "商品类型：0现货、1预售")
    private Integer commodityType;
    @ApiModelProperty(value = "报价")
    private BigDecimal price;
    @ApiModelProperty(value = "发货时间")
    private Integer sendDays;
    @ApiModelProperty(value = "报价表id")
    private Long purchaseCommodityBargainId;
    @ApiModelProperty(value = "报价商家")
    private String name;
    @ApiModelProperty(value = "询价单号")
    private Long purchaseId;
    @ApiModelProperty(value = "商品pdf")
    private String pdfUrl;
    @ApiModelProperty(value = "商品图片")
    private String commodityLogoUrl;
    @ApiModelProperty(value = "商品图片")
    private String commodityImgUrl;
    @ApiModelProperty(value = "收货时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date receiveExpectedTime;
    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "询价发布人")
    private String userName;
}
